package com.thd.springboottest.ioc.conditionaltest;


import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Component;

@ConditionalOnProperty(name="conditional.a",matchIfMissing=false)
@Component
public class ConditionaProperty {
    public void say(){
        System.out.println("ConditionaProperty.say()");
    }
}
